package com.preskool.service;

import com.preskool.dto.TeacherVo;
import com.preskool.po.Teacher;
import com.preskool.po.TeacherExample;

import java.util.List;

/**
 * @Author kennyzzz
 * @Data 2021/1/7 14:17
 */
public interface TeacherService {



    List<TeacherVo> findTeachersByPage(Integer currentPage, Integer pageSize, String sortName);

    Teacher findTeacherByTid(Integer tid);

    int addTeacher(Teacher teacher);

    int deleteTeacherByTid(Integer tid);

    int updateTeacher(Teacher teacher);
}
